package top.yxf.spring.context;

import top.yxf.spring.beans.BeansException;

/**
 * @author xs.wu
 * SPI interface to be implemented by most if not all application contexts.
 * Provides facilities to configure an application context
 * in addition to the application context client methods in the ApplicationContext interface.
 */
public interface ConfigurableApplicationContext extends ApplicationContext {

    /**
     * 刷新容器
     *
     * @throws BeansException
     */
    void refresh() throws BeansException;
}
